-
Notifications
You must be signed in to change notification settings - Fork 756
feat(freespace_planning_algorithms): update for A* python wrapper #8890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(freespace_planning_algorithms): update for A* python wrapper #8890
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
333efc0
to
1e25b48
Compare
double getDistanceToObstacle(const std::string & pose_byte) | ||
{ | ||
rclcpp::SerializedMessage serialized_msg; | ||
static constexpr size_t message_header_length = 8u; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how to know this value 8u?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imitated the code of another feature.
https://github.com/autowarefoundation/autoware_common/blob/7c55915cb435c17f24f78dd9b9f28fa269609671/tmp/lanelet2_extension_python/src/utility.cpp#L136
It uses the same header length 8u for all messages. But I'm sorry, I have no idea how it has been decided.
521f76e
to
d2226de
Compare
This pull request has been automatically marked as stale because it has not had recent activity. |
@kosuke55 Is this OK to merge? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8890 +/- ##
==========================================
+ Coverage 24.86% 25.05% +0.18%
==========================================
Files 1351 1352 +1
Lines 105018 105008 -10
Branches 39583 39580 -3
==========================================
+ Hits 26114 26305 +191
+ Misses 76419 76236 -183
+ Partials 2485 2467 -18
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This pull request has been automatically marked as stale because it has not had recent activity. |
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
7ebb6b9
to
271d8c3
Compare
Description
Update for A* python wrapper to use the getDistanceToObstacle() function.
Related links
This PR is initially prepared for A* parameter tuning tool autoware_tools PR#120. But, not only for it but also for other applications using python wrapper.
How was this PR tested?
Evaluator: https://evaluation.tier4.jp/evaluation/reports/733ee4d0-e5fc-5308-8520-fdbaf61526f8?project_id=prd_jt
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.